<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8" />
  <title>bn::array&lt;Type, 0&gt; class | Butano Docs</title>
  <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400i,600,600i%7CSource+Code+Pro:400,400i,600" />
  <link rel="stylesheet" href="m-dark+documentation.compiled.css" />
  <link rel="icon" href="favicon-dark.png" type="image/png" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <meta name="theme-color" content="#22272e" />
</head>
<body>
<header><nav id="navigation">
  <div class="m-container">
    <div class="m-row">
      <span id="m-navbar-brand" class="m-col-t-8 m-col-m-none m-left-m">
        <a href="https://github.com/GValiente/butano">Butano</a> <span class="m-breadcrumb">|</span> <a href="index.html" class="m-thin">Docs</a>
      </span>
      <div class="m-col-t-4 m-hide-m m-text-right m-nopadr">
        <a href="#search" class="m-doc-search-icon" title="Search" onclick="return showSearch()"><svg style="height: 0.9rem;" viewBox="0 0 16 16">
          <path id="m-doc-search-icon-path" d="m6 0c-3.31 0-6 2.69-6 6 0 3.31 2.69 6 6 6 1.49 0 2.85-0.541 3.89-1.44-0.0164 0.338 0.147 0.759 0.5 1.15l3.22 3.79c0.552 0.614 1.45 0.665 2 0.115 0.55-0.55 0.499-1.45-0.115-2l-3.79-3.22c-0.392-0.353-0.812-0.515-1.15-0.5 0.895-1.05 1.44-2.41 1.44-3.89 0-3.31-2.69-6-6-6zm0 1.56a4.44 4.44 0 0 1 4.44 4.44 4.44 4.44 0 0 1-4.44 4.44 4.44 4.44 0 0 1-4.44-4.44 4.44 4.44 0 0 1 4.44-4.44z"/>
        </svg></a>
        <a id="m-navbar-show" href="#navigation" title="Show navigation"></a>
        <a id="m-navbar-hide" href="#" title="Hide navigation"></a>
      </div>
      <div id="m-navbar-collapse" class="m-col-t-12 m-show-m m-col-m-none m-right-m">
        <div class="m-row">
          <ol class="m-col-t-6 m-col-m-none">
            <li><a href="pages.html">Pages</a></li>
            <li><a href="modules.html">Modules</a></li>
          </ol>
          <ol class="m-col-t-6 m-col-m-none" start="3">
            <li><a href="namespaces.html">Namespaces</a></li>
            <li><a href="annotated.html">Classes</a></li>
            <li><a href="files.html">Files</a></li>
            <li class="m-show-m"><a href="#search" class="m-doc-search-icon" title="Search" onclick="return showSearch()"><svg style="height: 0.9rem;" viewBox="0 0 16 16">
              <use href="#m-doc-search-icon-path" />
            </svg></a></li>
          </ol>
        </div>
      </div>
    </div>
  </div>
</nav></header>
<main><article>
  <div class="m-container m-container-inflatable">
    <div class="m-row">
      <div class="m-col-l-10 m-push-l-1">
        <h1>
          <div class="m-doc-include m-code m-inverted m-right-m m-text-right"><span class="cp">#include</span> <a class="cpf" href="bn__array_8h.html">&lt;bn_array.h&gt;</a></div>
          <div class="m-doc-template">template&lt;typename Type&gt;</div>
          <span class="m-breadcrumb"><a href="namespacebn.html">bn</a>::<wbr/></span>array&lt;Type, 0&gt; <span class="m-thin">class</span>
        </h1>
        <p>Empty array template specialization.</p>
        <table class="m-table m-fullwidth m-flat">
          <thead>
            <tr><th colspan="2">Template parameters</th></tr>
          </thead>
          <tbody>
            <tr>
              <td style="width: 1%">Type</td>
              <td>Element type.</td>
            </tr>
          </tbody>
        </table>
        <nav class="m-block m-default">
          <h3>Contents</h3>
          <ul>
            <li>
              Reference
              <ul>
                <li><a href="#pub-types">Public types</a></li>
                <li><a href="#pub-methods">Public functions</a></li>
                <li><a href="#pub-attribs">Public variables</a></li>
                <li><a href="#friends">Friends</a></li>
              </ul>
            </li>
          </ul>
        </nav>
        <section id="pub-types">
          <h2><a href="#pub-types">Public types</a></h2>
          <dl class="m-doc">
            <dt id="a73e51ecf0fff4a240ef2ad2216f45ce8">
              using <a href="#a73e51ecf0fff4a240ef2ad2216f45ce8" class="m-doc-self">value_type</a> = Type
            </dt>
            <dd>Value type alias.</dd>
            <dt id="a9976edd97c805234f5cd2e195fb90a47">
              using <a href="#a9976edd97c805234f5cd2e195fb90a47" class="m-doc-self">size_type</a> = int
            </dt>
            <dd>Size type alias.</dd>
            <dt id="a88463fdbf9568b1638bbf8310809b48c">
              using <a href="#a88463fdbf9568b1638bbf8310809b48c" class="m-doc-self">difference_type</a> = int
            </dt>
            <dd>Difference type alias.</dd>
            <dt id="a563c3450a0c420c61ce92906322790e2">
              using <a href="#a563c3450a0c420c61ce92906322790e2" class="m-doc-self">reference</a> = Type&amp;
            </dt>
            <dd>Reference alias.</dd>
            <dt id="ae92b07042bf69395fc609e08d029484d">
              using <a href="#ae92b07042bf69395fc609e08d029484d" class="m-doc-self">const_reference</a> = const Type&amp;
            </dt>
            <dd>Const reference alias.</dd>
            <dt id="ada8efa94941fb20b4ee0838cae94ace1">
              using <a href="#ada8efa94941fb20b4ee0838cae94ace1" class="m-doc-self">pointer</a> = Type*
            </dt>
            <dd>Pointer alias.</dd>
            <dt id="ac02374c03339058d706c45db09c82216">
              using <a href="#ac02374c03339058d706c45db09c82216" class="m-doc-self">const_pointer</a> = const Type*
            </dt>
            <dd>Const pointer alias.</dd>
            <dt id="a37ae4c0a0ed0326298a1695794d9c5fc">
              using <a href="#a37ae4c0a0ed0326298a1695794d9c5fc" class="m-doc-self">iterator</a> = Type*
            </dt>
            <dd>Iterator alias.</dd>
            <dt id="a8fbc6daae20369c123dd88ecfc9ccb34">
              using <a href="#a8fbc6daae20369c123dd88ecfc9ccb34" class="m-doc-self">const_iterator</a> = const Type*
            </dt>
            <dd>Const iterator alias.</dd>
            <dt id="ae3acdd190e348d1671efe26331ced68e">
              using <a href="#ae3acdd190e348d1671efe26331ced68e" class="m-doc-self">reverse_iterator</a> = bn::reverse_iterator&lt;<a href="#a37ae4c0a0ed0326298a1695794d9c5fc" class="m-doc">iterator</a>&gt;
            </dt>
            <dd>Reverse iterator alias.</dd>
            <dt id="a1f485d8cdd7633010d4325ab7a14d8d2">
              using <a href="#a1f485d8cdd7633010d4325ab7a14d8d2" class="m-doc-self">const_reverse_iterator</a> = bn::reverse_iterator&lt;<a href="#a8fbc6daae20369c123dd88ecfc9ccb34" class="m-doc">const_<wbr />iterator</a>&gt;
            </dt>
            <dd>Const reverse iterator alias.</dd>
          </dl>
        </section>
        <section id="pub-methods">
          <h2><a href="#pub-methods">Public functions</a></h2>
          <dl class="m-doc">
            <dt id="ad9a91f794573ff5d29ea5e48eabf9512">
              <span class="m-doc-wrap-bumper">auto <a href="#ad9a91f794573ff5d29ea5e48eabf9512" class="m-doc-self">data</a>(</span><span class="m-doc-wrap">) const -&gt; <a href="#ac02374c03339058d706c45db09c82216" class="m-doc">const_<wbr />pointer</a> <span class="m-label m-flat m-primary">constexpr</span></span>
            </dt>
            <dd>Returns a const pointer to the beginning of the array.</dd>
            <dt id="ad46dfc8974d2b2f4af2dd5ce162474f1">
              <span class="m-doc-wrap-bumper">auto <a href="#ad46dfc8974d2b2f4af2dd5ce162474f1" class="m-doc-self">data</a>(</span><span class="m-doc-wrap">) -&gt; <a href="#ada8efa94941fb20b4ee0838cae94ace1" class="m-doc">pointer</a> <span class="m-label m-flat m-primary">constexpr</span></span>
            </dt>
            <dd>Returns a pointer to the beginning of the array.</dd>
            <dt id="af67983ad56c7ab16ffe96c2bfa818298">
              <span class="m-doc-wrap-bumper">auto <a href="#af67983ad56c7ab16ffe96c2bfa818298" class="m-doc-self">size</a>(</span><span class="m-doc-wrap">) const -&gt; <a href="#a9976edd97c805234f5cd2e195fb90a47" class="m-doc">size_<wbr />type</a> <span class="m-label m-flat m-primary">constexpr</span></span>
            </dt>
            <dd>Returns the elements count.</dd>
            <dt id="a0885f2090001a79262eaca87388fbef5">
              <span class="m-doc-wrap-bumper">auto <a href="#a0885f2090001a79262eaca87388fbef5" class="m-doc-self">max_size</a>(</span><span class="m-doc-wrap">) const -&gt; <a href="#a9976edd97c805234f5cd2e195fb90a47" class="m-doc">size_<wbr />type</a> <span class="m-label m-flat m-primary">constexpr</span></span>
            </dt>
            <dd>Returns the maximum possible elements count.</dd>
            <dt id="a4da98bcc33b350a94465bf27153cccea">
              <span class="m-doc-wrap-bumper">auto <a href="#a4da98bcc33b350a94465bf27153cccea" class="m-doc-self">available</a>(</span><span class="m-doc-wrap">) const -&gt; <a href="#a9976edd97c805234f5cd2e195fb90a47" class="m-doc">size_<wbr />type</a> <span class="m-label m-flat m-primary">constexpr</span></span>
            </dt>
            <dd>Returns the remaining element capacity.</dd>
            <dt id="af4232f03e010bb207b14a2f77dce570b">
              <span class="m-doc-wrap-bumper">auto <a href="#af4232f03e010bb207b14a2f77dce570b" class="m-doc-self">empty</a>(</span><span class="m-doc-wrap">) const -&gt; bool <span class="m-label m-flat m-primary">constexpr</span></span>
            </dt>
            <dd>Indicates if it doesn&#x27;t contain any element.</dd>
            <dt id="ac0022bce6eb89cee9f37302fb0e0d3b1">
              <span class="m-doc-wrap-bumper">auto <a href="#ac0022bce6eb89cee9f37302fb0e0d3b1" class="m-doc-self">full</a>(</span><span class="m-doc-wrap">) const -&gt; bool <span class="m-label m-flat m-primary">constexpr</span></span>
            </dt>
            <dd>Indicates if it can&#x27;t contain any more elements.</dd>
            <dt id="a2ac45f360e64fcd9aa55f598751b0cec">
              <span class="m-doc-wrap-bumper">auto <a href="#a2ac45f360e64fcd9aa55f598751b0cec" class="m-doc-self">begin</a>(</span><span class="m-doc-wrap">) const -&gt; <a href="#a8fbc6daae20369c123dd88ecfc9ccb34" class="m-doc">const_<wbr />iterator</a> <span class="m-label m-flat m-primary">constexpr</span></span>
            </dt>
            <dd>Returns a const iterator to the beginning of the array.</dd>
            <dt id="a48d69188a9de92ca5df06f0c99e88c87">
              <span class="m-doc-wrap-bumper">auto <a href="#a48d69188a9de92ca5df06f0c99e88c87" class="m-doc-self">begin</a>(</span><span class="m-doc-wrap">) -&gt; <a href="#a37ae4c0a0ed0326298a1695794d9c5fc" class="m-doc">iterator</a> <span class="m-label m-flat m-primary">constexpr</span></span>
            </dt>
            <dd>Returns an iterator to the beginning of the array.</dd>
            <dt id="a7bfaaeb25741b8836f4db077592df368">
              <span class="m-doc-wrap-bumper">auto <a href="#a7bfaaeb25741b8836f4db077592df368" class="m-doc-self">end</a>(</span><span class="m-doc-wrap">) const -&gt; <a href="#a8fbc6daae20369c123dd88ecfc9ccb34" class="m-doc">const_<wbr />iterator</a> <span class="m-label m-flat m-primary">constexpr</span></span>
            </dt>
            <dd>Returns a const iterator to the end of the array.</dd>
            <dt id="a985a08d18750b52d9e643f961528a938">
              <span class="m-doc-wrap-bumper">auto <a href="#a985a08d18750b52d9e643f961528a938" class="m-doc-self">end</a>(</span><span class="m-doc-wrap">) -&gt; <a href="#a37ae4c0a0ed0326298a1695794d9c5fc" class="m-doc">iterator</a> <span class="m-label m-flat m-primary">constexpr</span></span>
            </dt>
            <dd>Returns an iterator to the end of the array.</dd>
            <dt id="a0977e37bf3604cebd077caa902b5f465">
              <span class="m-doc-wrap-bumper">auto <a href="#a0977e37bf3604cebd077caa902b5f465" class="m-doc-self">cbegin</a>(</span><span class="m-doc-wrap">) const -&gt; <a href="#a8fbc6daae20369c123dd88ecfc9ccb34" class="m-doc">const_<wbr />iterator</a> <span class="m-label m-flat m-primary">constexpr</span></span>
            </dt>
            <dd>Returns a const iterator to the beginning of the array.</dd>
            <dt id="a3383e3ac8bb42ea79f3e164aff49c50d">
              <span class="m-doc-wrap-bumper">auto <a href="#a3383e3ac8bb42ea79f3e164aff49c50d" class="m-doc-self">cend</a>(</span><span class="m-doc-wrap">) const -&gt; <a href="#a8fbc6daae20369c123dd88ecfc9ccb34" class="m-doc">const_<wbr />iterator</a> <span class="m-label m-flat m-primary">constexpr</span></span>
            </dt>
            <dd>Returns a const iterator to the end of the array.</dd>
            <dt id="a4334898c71bd7046cc7fc11f8ff94cc6">
              <span class="m-doc-wrap-bumper">auto <a href="#a4334898c71bd7046cc7fc11f8ff94cc6" class="m-doc-self">rbegin</a>(</span><span class="m-doc-wrap">) const -&gt; <a href="#a1f485d8cdd7633010d4325ab7a14d8d2" class="m-doc">const_<wbr />reverse_<wbr />iterator</a> <span class="m-label m-flat m-primary">constexpr</span></span>
            </dt>
            <dd>Returns a const reverse iterator to the end of the array.</dd>
            <dt id="a2b1691bf8b823dbcbe521c8b83fd82e1">
              <span class="m-doc-wrap-bumper">auto <a href="#a2b1691bf8b823dbcbe521c8b83fd82e1" class="m-doc-self">rbegin</a>(</span><span class="m-doc-wrap">) -&gt; <a href="#ae3acdd190e348d1671efe26331ced68e" class="m-doc">reverse_<wbr />iterator</a> <span class="m-label m-flat m-primary">constexpr</span></span>
            </dt>
            <dd>Returns a reverse iterator to the end of the array.</dd>
            <dt id="a876dad091c8ee6b5d0b6214823102601">
              <span class="m-doc-wrap-bumper">auto <a href="#a876dad091c8ee6b5d0b6214823102601" class="m-doc-self">rend</a>(</span><span class="m-doc-wrap">) const -&gt; <a href="#a1f485d8cdd7633010d4325ab7a14d8d2" class="m-doc">const_<wbr />reverse_<wbr />iterator</a> <span class="m-label m-flat m-primary">constexpr</span></span>
            </dt>
            <dd>Returns a const reverse iterator to the beginning of the array.</dd>
            <dt id="ad0dfbfd718b47be94957f67a4f91d2d1">
              <span class="m-doc-wrap-bumper">auto <a href="#ad0dfbfd718b47be94957f67a4f91d2d1" class="m-doc-self">rend</a>(</span><span class="m-doc-wrap">) -&gt; <a href="#ae3acdd190e348d1671efe26331ced68e" class="m-doc">reverse_<wbr />iterator</a> <span class="m-label m-flat m-primary">constexpr</span></span>
            </dt>
            <dd>Returns a reverse iterator to the beginning of the array.</dd>
            <dt id="ac58fd63c3d0d7adacf592ca10ad6d2a4">
              <span class="m-doc-wrap-bumper">auto <a href="#ac58fd63c3d0d7adacf592ca10ad6d2a4" class="m-doc-self">crbegin</a>(</span><span class="m-doc-wrap">) const -&gt; <a href="#a1f485d8cdd7633010d4325ab7a14d8d2" class="m-doc">const_<wbr />reverse_<wbr />iterator</a> <span class="m-label m-flat m-primary">constexpr</span></span>
            </dt>
            <dd>Returns a const reverse iterator to the end of the array.</dd>
            <dt id="a19fb2ba476eb58d810934dc2e8748a29">
              <span class="m-doc-wrap-bumper">auto <a href="#a19fb2ba476eb58d810934dc2e8748a29" class="m-doc-self">crend</a>(</span><span class="m-doc-wrap">) const -&gt; <a href="#a1f485d8cdd7633010d4325ab7a14d8d2" class="m-doc">const_<wbr />reverse_<wbr />iterator</a> <span class="m-label m-flat m-primary">constexpr</span></span>
            </dt>
            <dd>Returns a const reverse iterator to the beginning of the array.</dd>
            <dt id="a5235627d500bdaa02cdbfa16f923523f">
              <span class="m-doc-wrap-bumper">void <a href="#a5235627d500bdaa02cdbfa16f923523f" class="m-doc-self">fill</a>(</span><span class="m-doc-wrap"><a href="#ae92b07042bf69395fc609e08d029484d" class="m-doc">const_<wbr />reference</a> value) <span class="m-label m-flat m-primary">constexpr</span></span>
            </dt>
            <dd>Fills the array with the given value.</dd>
            <dt>
              <span class="m-doc-wrap-bumper">void <a href="#a3ea7185a082d5d840bc8c505ccb0db69" class="m-doc">swap</a>(</span><span class="m-doc-wrap"><a href="classbn_1_1array.html" class="m-doc">array</a>&amp; other) <span class="m-label m-flat m-primary">constexpr</span></span>
            </dt>
            <dd>Exchanges the contents of this array with those of the other one.</dd>
            <dt>
              <span class="m-doc-wrap-bumper">auto <a href="classbn_1_1array.html#af5c5ae0ccce0a69a986947573a74e9e5" class="m-doc">operator[]</a>(</span><span class="m-doc-wrap"><a href="#a9976edd97c805234f5cd2e195fb90a47" class="m-doc">size_<wbr />type</a> index) const -&gt; <a href="#ae92b07042bf69395fc609e08d029484d" class="m-doc">const_<wbr />reference</a> <span class="m-label m-flat m-primary">constexpr</span></span>
            </dt>
            <dd>Returns a const reference to the value stored at the specified index.</dd>
            <dt>
              <span class="m-doc-wrap-bumper">auto <a href="classbn_1_1array.html#a5e8b082c0b773713dc24644476a713f2" class="m-doc">at</a>(</span><span class="m-doc-wrap"><a href="#a9976edd97c805234f5cd2e195fb90a47" class="m-doc">size_<wbr />type</a> index) const -&gt; <a href="#ae92b07042bf69395fc609e08d029484d" class="m-doc">const_<wbr />reference</a> <span class="m-label m-flat m-primary">constexpr</span></span>
            </dt>
            <dd>Returns a const reference to the value stored at the specified index.</dd>
            <dt>
              <span class="m-doc-wrap-bumper">auto <a href="classbn_1_1array.html#a6a82ecb4df54d7f145c0f7fdc58188db" class="m-doc">front</a>(</span><span class="m-doc-wrap">) const -&gt; <a href="#ae92b07042bf69395fc609e08d029484d" class="m-doc">const_<wbr />reference</a> <span class="m-label m-flat m-primary">constexpr</span></span>
            </dt>
            <dd>Returns a const reference to the first element.</dd>
            <dt>
              <span class="m-doc-wrap-bumper">auto <a href="classbn_1_1array.html#a8256007c727a8e7f98fa85acf6f190b6" class="m-doc">back</a>(</span><span class="m-doc-wrap">) const -&gt; <a href="#ae92b07042bf69395fc609e08d029484d" class="m-doc">const_<wbr />reference</a> <span class="m-label m-flat m-primary">constexpr</span></span>
            </dt>
            <dd>Returns a const reference to the last element.</dd>
          </dl>
        </section>
        <section id="pub-attribs">
          <h2><a href="#pub-attribs">Public variables</a></h2>
          <dl class="m-doc">
            <dt>
              Type <a href="classbn_1_1array.html#aac2d5cb1d068919c828aeaa47edcb157" class="m-doc">_data</a>
            </dt>
            <dd>(Not so) internal data.</dd>
          </dl>
        </section>
        <section id="friends">
          <h2><a href="#friends">Friends</a></h2>
          <dl class="m-doc">
            <dt>
              <span class="m-doc-wrap-bumper">void <a href="#affb17d20a092f579efb4333ce3210ffa" class="m-doc">swap</a>(</span><span class="m-doc-wrap"><a href="classbn_1_1array.html" class="m-doc">array</a>&amp; a,
              <a href="classbn_1_1array.html" class="m-doc">array</a>&amp; b) <span class="m-label m-flat m-primary">constexpr</span></span>
            </dt>
            <dd>Exchanges the contents of an array with those of another one.</dd>
            <dt>
              <span class="m-doc-wrap-bumper">auto <a href="#aff7948eb35542c18aa1aba7454ff0eab" class="m-doc">operator==</a>(</span><span class="m-doc-wrap">const <a href="classbn_1_1array.html" class="m-doc">array</a>&amp; a,
              const <a href="classbn_1_1array.html" class="m-doc">array</a>&amp; b) -&gt; bool <span class="m-label m-flat m-primary">constexpr</span></span>
            </dt>
            <dd>Equal operator.</dd>
            <dt>
              <span class="m-doc-wrap-bumper">auto <a href="#a719980b4b9fef7f14268705062831d6c" class="m-doc">operator&lt;</a>(</span><span class="m-doc-wrap">const <a href="classbn_1_1array.html" class="m-doc">array</a>&amp; a,
              const <a href="classbn_1_1array.html" class="m-doc">array</a>&amp; b) -&gt; bool <span class="m-label m-flat m-primary">constexpr</span></span>
            </dt>
            <dd>Less than operator.</dd>
            <dt>
              <span class="m-doc-wrap-bumper">auto <a href="#a2f79a909cadff3efdbbfe6170425bf5f" class="m-doc">operator&gt;</a>(</span><span class="m-doc-wrap">const <a href="classbn_1_1array.html" class="m-doc">array</a>&amp; a,
              const <a href="classbn_1_1array.html" class="m-doc">array</a>&amp; b) -&gt; bool <span class="m-label m-flat m-primary">constexpr</span></span>
            </dt>
            <dd>Greater than operator.</dd>
            <dt>
              <span class="m-doc-wrap-bumper">auto <a href="#a1452e4012b0df3e6275d86f8fce716d2" class="m-doc">operator&lt;=</a>(</span><span class="m-doc-wrap">const <a href="classbn_1_1array.html" class="m-doc">array</a>&amp; a,
              const <a href="classbn_1_1array.html" class="m-doc">array</a>&amp; b) -&gt; bool <span class="m-label m-flat m-primary">constexpr</span></span>
            </dt>
            <dd>Less than or equal operator.</dd>
            <dt>
              <span class="m-doc-wrap-bumper">auto <a href="#ab43ac8876ef0d63c966110df10b6e092" class="m-doc">operator&gt;=</a>(</span><span class="m-doc-wrap">const <a href="classbn_1_1array.html" class="m-doc">array</a>&amp; a,
              const <a href="classbn_1_1array.html" class="m-doc">array</a>&amp; b) -&gt; bool <span class="m-label m-flat m-primary">constexpr</span></span>
            </dt>
            <dd>Greater than or equal operator.</dd>
          </dl>
        </section>
        <section>
          <h2>Function documentation</h2>
          <section class="m-doc-details" id="a3ea7185a082d5d840bc8c505ccb0db69"><div>
            <h3>
              <div class="m-doc-template">
                template&lt;typename Type&gt;
              </div>
              <span class="m-doc-wrap-bumper">void bn::<wbr />array&lt;Type, 0&gt;&lt;Type&gt;::<wbr /></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#a3ea7185a082d5d840bc8c505ccb0db69" class="m-doc-self">swap</a>(</span><span class="m-doc-wrap"><a href="classbn_1_1array.html" class="m-doc">array</a>&amp; other) <span class="m-label m-primary">constexpr</span></span></span>
            </h3>
            <p>Exchanges the contents of this array with those of the other one.</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">other</td>
                  <td>array to exchange the contents with.</td>
                </tr>
              </tbody>
            </table>
          </div></section>
          <section class="m-doc-details" id="affb17d20a092f579efb4333ce3210ffa"><div>
            <h3>
              <div class="m-doc-template">
                template&lt;typename Type&gt;
              </div>
              <span class="m-doc-wrap-bumper">void </span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#affb17d20a092f579efb4333ce3210ffa" class="m-doc-self">swap</a>(</span><span class="m-doc-wrap"><a href="classbn_1_1array.html" class="m-doc">array</a>&amp; a,
              <a href="classbn_1_1array.html" class="m-doc">array</a>&amp; b) <span class="m-label m-primary">constexpr</span></span></span>
            </h3>
            <p>Exchanges the contents of an array with those of another one.</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">a</td>
                  <td>First array to exchange the contents with.</td>
                </tr>
                <tr>
                  <td>b</td>
                  <td>Second array to exchange the contents with.</td>
                </tr>
              </tbody>
            </table>
          </div></section>
          <section class="m-doc-details" id="aff7948eb35542c18aa1aba7454ff0eab"><div>
            <h3>
              <div class="m-doc-template">
                template&lt;typename Type&gt;
              </div>
              <span class="m-doc-wrap-bumper">bool </span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#aff7948eb35542c18aa1aba7454ff0eab" class="m-doc-self">operator==</a>(</span><span class="m-doc-wrap">const <a href="classbn_1_1array.html" class="m-doc">array</a>&amp; a,
              const <a href="classbn_1_1array.html" class="m-doc">array</a>&amp; b) <span class="m-label m-primary">constexpr</span></span></span>
            </h3>
            <p>Equal operator.</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">a</td>
                  <td>First array to compare.</td>
                </tr>
                <tr>
                  <td>b</td>
                  <td>Second array to compare.</td>
                </tr>
              </tbody>
              <tfoot>
                <tr>
                  <th>Returns</th>
                  <td><code>true</code> if the first array is equal to the second one, otherwise <code>false</code>.</td>
                </tr>
              </tfoot>
            </table>
          </div></section>
          <section class="m-doc-details" id="a719980b4b9fef7f14268705062831d6c"><div>
            <h3>
              <div class="m-doc-template">
                template&lt;typename Type&gt;
              </div>
              <span class="m-doc-wrap-bumper">bool </span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#a719980b4b9fef7f14268705062831d6c" class="m-doc-self">operator&lt;</a>(</span><span class="m-doc-wrap">const <a href="classbn_1_1array.html" class="m-doc">array</a>&amp; a,
              const <a href="classbn_1_1array.html" class="m-doc">array</a>&amp; b) <span class="m-label m-primary">constexpr</span></span></span>
            </h3>
            <p>Less than operator.</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">a</td>
                  <td>First array to compare.</td>
                </tr>
                <tr>
                  <td>b</td>
                  <td>Second array to compare.</td>
                </tr>
              </tbody>
              <tfoot>
                <tr>
                  <th>Returns</th>
                  <td><code>true</code> if the first array is lexicographically less than the second one, otherwise <code>false</code>.</td>
                </tr>
              </tfoot>
            </table>
          </div></section>
          <section class="m-doc-details" id="a2f79a909cadff3efdbbfe6170425bf5f"><div>
            <h3>
              <div class="m-doc-template">
                template&lt;typename Type&gt;
              </div>
              <span class="m-doc-wrap-bumper">bool </span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#a2f79a909cadff3efdbbfe6170425bf5f" class="m-doc-self">operator&gt;</a>(</span><span class="m-doc-wrap">const <a href="classbn_1_1array.html" class="m-doc">array</a>&amp; a,
              const <a href="classbn_1_1array.html" class="m-doc">array</a>&amp; b) <span class="m-label m-primary">constexpr</span></span></span>
            </h3>
            <p>Greater than operator.</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">a</td>
                  <td>First array to compare.</td>
                </tr>
                <tr>
                  <td>b</td>
                  <td>Second array to compare.</td>
                </tr>
              </tbody>
              <tfoot>
                <tr>
                  <th>Returns</th>
                  <td><code>true</code> if the first array is lexicographically greater than the second one, otherwise <code>false</code>.</td>
                </tr>
              </tfoot>
            </table>
          </div></section>
          <section class="m-doc-details" id="a1452e4012b0df3e6275d86f8fce716d2"><div>
            <h3>
              <div class="m-doc-template">
                template&lt;typename Type&gt;
              </div>
              <span class="m-doc-wrap-bumper">bool </span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#a1452e4012b0df3e6275d86f8fce716d2" class="m-doc-self">operator&lt;=</a>(</span><span class="m-doc-wrap">const <a href="classbn_1_1array.html" class="m-doc">array</a>&amp; a,
              const <a href="classbn_1_1array.html" class="m-doc">array</a>&amp; b) <span class="m-label m-primary">constexpr</span></span></span>
            </h3>
            <p>Less than or equal operator.</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">a</td>
                  <td>First array to compare.</td>
                </tr>
                <tr>
                  <td>b</td>
                  <td>Second array to compare.</td>
                </tr>
              </tbody>
              <tfoot>
                <tr>
                  <th>Returns</th>
                  <td><code>true</code> if the first array is lexicographically less than or equal to the second one, otherwise <code>false</code>.</td>
                </tr>
              </tfoot>
            </table>
          </div></section>
          <section class="m-doc-details" id="ab43ac8876ef0d63c966110df10b6e092"><div>
            <h3>
              <div class="m-doc-template">
                template&lt;typename Type&gt;
              </div>
              <span class="m-doc-wrap-bumper">bool </span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#ab43ac8876ef0d63c966110df10b6e092" class="m-doc-self">operator&gt;=</a>(</span><span class="m-doc-wrap">const <a href="classbn_1_1array.html" class="m-doc">array</a>&amp; a,
              const <a href="classbn_1_1array.html" class="m-doc">array</a>&amp; b) <span class="m-label m-primary">constexpr</span></span></span>
            </h3>
            <p>Greater than or equal operator.</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">a</td>
                  <td>First array to compare.</td>
                </tr>
                <tr>
                  <td>b</td>
                  <td>Second array to compare.</td>
                </tr>
              </tbody>
              <tfoot>
                <tr>
                  <th>Returns</th>
                  <td><code>true</code> if the first array is lexicographically greater than or equal to the second one, otherwise <code>false</code>.</td>
                </tr>
              </tfoot>
            </table>
          </div></section>
        </section>
      </div>
    </div>
  </div>
</article></main>
<div class="m-doc-search" id="search">
  <a href="#!" onclick="return hideSearch()"></a>
  <div class="m-container">
    <div class="m-row">
      <div class="m-col-m-8 m-push-m-2">
        <div class="m-doc-search-header m-text m-small">
          <div><span class="m-label m-default">Tab</span> / <span class="m-label m-default">T</span> to search, <span class="m-label m-default">Esc</span> to close</div>
          <div id="search-symbolcount">&hellip;</div>
        </div>
        <div class="m-doc-search-content">
          <form>
            <input type="search" name="q" id="search-input" placeholder="Loading &hellip;" disabled="disabled" autofocus="autofocus" autocomplete="off" spellcheck="false" />
          </form>
          <noscript class="m-text m-danger m-text-center">Unlike everything else in the docs, the search functionality <em>requires</em> JavaScript.</noscript>
          <div id="search-help" class="m-text m-dim m-text-center">
            <p class="m-noindent">Search for symbols, directories, files, pages or
            modules. You can omit any prefix from the symbol or file path; adding a
            <code>:</code> or <code>/</code> suffix lists all members of given symbol or
            directory.</p>
            <p class="m-noindent">Use <span class="m-label m-dim">&darr;</span>
            / <span class="m-label m-dim">&uarr;</span> to navigate through the list,
            <span class="m-label m-dim">Enter</span> to go.
            <span class="m-label m-dim">Tab</span> autocompletes common prefix, you can
            copy a link to the result using <span class="m-label m-dim">⌘</span>
            <span class="m-label m-dim">L</span> while <span class="m-label m-dim">⌘</span>
            <span class="m-label m-dim">M</span> produces a Markdown link.</p>
          </div>
          <div id="search-notfound" class="m-text m-warning m-text-center">Sorry, nothing was found.</div>
          <ul id="search-results"></ul>
        </div>
      </div>
    </div>
  </div>
</div>
<script src="search-v2.js"></script>
<script src="searchdata-v2.js" async="async"></script>
<footer><nav>
  <div class="m-container">
    <div class="m-row">
      <div class="m-col-l-10 m-push-l-1">
        <p>Butano Docs. Created with <a href="https://doxygen.org/">Doxygen</a> 1.14.0 and <a href="https://mcss.mosra.cz/">m.css</a>.</p>
      </div>
    </div>
  </div>
</nav></footer>
</body>
</html>
